package com.felight;

public class Employee implements Comparable<Employee> {
	int id;
	private String name;
	private String Address;
	public int getId(){
		return  this.id;
		
	}
	
	
		public void setId(int id) {
		this.id = id;
	}


	public String getAddress() {
			return Address;
		}


	public void setAddress(String address) {
		Address = address;
	}


		public String getName(){
		return name;
		
	}
	public void setName(String name){
		this.name = name;
		
	}
	public Employee(int id, String name, String Address){
		this.id = id;
		this.name = name;
		this.Address = Address;
		
	}
	public Employee(int i, String string) {
		// TODO Auto-generated constructor stub
	}


	public String toString(){
		return this.name;
		
	}
	public int compareTo(Employee o){
		return name.compareTo(o.getName());
		
	}
	
}
